<?

/** Dataxi library ihcluder.
 *  Adds library paths to include_path.
 *  It should be placed in the same folder than index.php or any other
 *  main routine that is called through browser.
 *  This code is lisenced under GLP, see www.gnu.org for details.
 *  @author Jyry Kuukkanen
 *
 *  $Id: dzpaths.php,v 1.2 2005/04/27 11:11:33 jyry Exp $
 */

$paths = array("/hiiri/astrud/solib",
               "/hiiri/astrud/dataxi",
               "/hiiri/astrud/sothis/util");

$win = ereg('win', strtolower($_SERVER["SERVER_SOFTWARE"]));
($win) ? $delim = ";" : $delim = ":";
$inc_paths = ini_get("include_path").$delim.implode($delim, $paths);
ini_set("include_path", $inc_paths);
        
        
?>
